package com.xiaohao.server.parkmap.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.persistence.*;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity
@TableName("scenic_t")
@Table(name = "scenic_t")
@Accessors(chain = true)
public class Scenic {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String videoPath;
    private String audioPath;
    private String img;
    private String name;
    @Lob
    private String content;
    /**
     * 经度
     */
    private String lng;
    /**
     * 纬度
     */
    private String lat;
}
